using UnityEngine;

public class UIAnimationElement : MonoBehaviour
{
	protected bool m_isPlaying;

	public virtual bool isPlaying
	{
		get
		{
			return m_isPlaying;
		}
	}

	public virtual void Play()
	{
		m_isPlaying = true;
	}

	protected virtual void OnEnd()
	{
		m_isPlaying = false;
	}

	public virtual void Stop()
	{
		m_isPlaying = false;
	}
}
